package com.sxjh.entity.result;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class ContractQueryParam {

  @ApiModelProperty(value = "合同号")
  @TableField("contract_number")
  private String contractNumber;

  @ApiModelProperty(value = "产品类别")
  @NotNull(message = "产品类别不允许为空")
  private Integer materialId;

  @ApiModelProperty("供应商/客户ID")
  @NotNull(message = "供应商/客户ID不允许为空")
  private Integer customerUserId;

}
